.margin_page {
  margin: 24rpx;
}
.padding_page {
  padding: 24rpx;
}
.page {
  height: 100%;
}

.fontWeight {
  font-weight: bold;
}

.line_page {
  border-top: 20rpx solid #f5f5f5;
}

.title_page {
  font-size: 32rpx;
  color: #111111;
  margin: 30rpx 32rpx 10rpx;
}
.tabs {
  .u-tabs__wrapper__nav__line {
    bottom: 0 !important;
  }
}
.card_title {
  font-size: 34rpx;
  color: #111111;
}

.text-line {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.border_bottom {
  border-bottom: 1px solid #f5f5f5;
}

button {
  outline: none;

  &::after {
    border: none;
  }
}

.page_content {
  height: calc(100% - 150rpx);
  overflow: auto;
  box-sizing: border-box;
  padding-bottom: 24rpx;
}

.page_content1 {
  height: calc(100% - 160rpx);
  overflow: auto;
  box-sizing: border-box;
}

.page_content6 {
  height: calc(100% - 124rpx);
  overflow: auto;
  box-sizing: border-box;
  padding-bottom: 24rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) - 34rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) - 34rpx);
}

.footer_bottom {
  padding-bottom: 24rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) - 34rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) - 34rpx);
}

.page_view {
  height: calc(100% - 160px);
  overflow: auto;
  box-sizing: border-box;
}

.page_background {
  background: #f5f5f5;
}

.page_background-white {
  background: #ffffff;
}

.page_width_btn {
  width: 70%;
}

.bg_page {
  padding: 24rpx 24rpx 0;
  height: 100%;
  box-sizing: border-box;

  .page_list {
    padding-bottom: 40rpx;
  }
}

.placeholder {
  color: #cccccc;
  font-size: 32rpx;
}

.page_footer {
  width: 70%;
  margin: 0 auto;
  padding: 30rpx 0;

  .primary_btn {
    .u-button {
      &.u-button--primary {
        color: #4abf78;
        background: #ffffff;
      }
    }
  }

  .disabled_btn {
    .u-button {
      &.u-button--default {
        background: #cccccc;
        color: #666666;
      }
    }
  }

  .u-button {
    height: 94rpx;
    line-height: 94rpx;
    font-size: 36rpx;
    box-sizing: border-box;

    &.u-button--large {
      height: 94rpx;
      line-height: 94rpx;
    }
  }

  &.page_footer_large {
    width: 90%;
  }
}

.borderTop {
  border-top: 1px solid#f2f2f2;
}
.u-button__loading-text {
  font-size: 36rpx !important;
  margin-left: 0 !important;
  padding-left: 4rpx;
}
.btn-box {
  .u-button {
    border: none;
    border-radius: 47rpx;
    font-size: 36rpx !important;
    height: 94rpx !important;
    line-height: 94rpx;

    &.u-button--primary {
      background-color: #4abf78;
      color: #ffffff;
      border: none;
    }

    &.u-button--normal {
      font-size: 36rpx;
    }

    &.u-button--default {
      background: #f0f0f0;
      color: #666666;

      &::after {
        border: none;
      }
    }

    &.u-button--disabled {
      background: #f0f0f0;
      color: #666666;
    }
  }

  &.submit-btn {
    .u-button {
      width: 225rpx;
    }

    .u-button--normal {
      font-size: 32rpx;
    }
  }
}

.btn {
  .u-button {
    height: 60rpx !important;
    width: auto;
    font-size: 26rpx !important;
    border-radius: 30rpx !important;
    box-sizing: border-box;

    &.u-button--normal {
      border: 1px solid #d0d0d0;
      padding: 0 24rpx !important;
    }

    &.u-button--default,
    &.u-defalut {
      background: #ffffff;
      color: #333333;
      border: 1px solid #d0d0d0;
    }

    &.u-button--primary {
      background: #4abf78;
      color: #ffffff;
      border: 1px solid #4abf78;
    }
    &.u-button--circle {
      border-top-right-radius: 42rpx !important;
      border-top-left-radius: 42rpx !important;
      border-bottom-left-radius: 42rpx !important;
      border-bottom-right-radius: 42rpx !important;
    }
  }

  &.conment-btn {
    width: 24%;
    margin: 0 auto;

    .u-button {
      height: 66rpx;

      &.u-button--default {
        border: none;
      }
    }
  }
}

.btn-plain {
  .u-button {
    height: 60rpx !important;
    line-height: 60rpx;
    width: auto;
    box-sizing: border-box;

    &.u-button--normal {
      padding: 0 20rpx !important;
    }

    &.u-button--plain {
      background: #ffffff;

      &.u-button--primary {
        color: #4abf78;
        border: 1px solid #4abf78;
        background: #ffffff;
      }
    }

    &.u-button--active {
      opacity: 0.6;

      &::before {
        background: none !important;
      }
    }

    &.u-button--default {
      color: #aaaaaa;
      background: #f7f7f7;
      border: 1px solid #cccccc;
      height: 60rpx;

      &.u-button--active {
        opacity: 0.6;

        &::before {
          background: #f7f7f7 !important;
        }
      }
    }
  }

  &.btn-plain-default {
    .u-button {
      color: #666666;
      background: #ffffff;
      border: 1px solid #cccccc;
      font-size: 26rpx;
      height: 60rpx;
      box-sizing: border-box;

      &.u-button--normal {
        padding: 0 20rpx !important;
      }

      &.u-button--circle {
        border-top-right-radius: 42rpx;
        border-top-left-radius: 42rpx;
        border-bottom-left-radius: 42rpx;
        border-bottom-right-radius: 42rpx;
      }
    }
  }
}

.page_footer_large {
  background: #ffffff;
  padding: 30rpx 5% 0;
  padding-bottom: 30rpx;
  width: 90%;
  box-sizing: content-box;
  box-shadow: 0px -4rpx 15rpx 0px rgba(0, 0, 0, 0.03);
  .u-button {
    height: 94rpx !important;
    line-height: 94rpx;
  }

  .u-button--large {
    font-size: 36rpx;
    height: 94rpx !important;
    line-height: 94rpx;
  }
}

.fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.u-safe-area-inset-bottom {
  padding-bottom: 30rpx;
  padding-bottom: calc(constant(safe-area-inset-bottom) - 40rpx);
  padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx);
}

.page_hidden {
  overflow: hidden;
}

.page_scroll {
  overflow-y: scroll;
  overflow-x: hidden;
}

.right-icon {
  font-size: 28rpx;
  color: #999999;
}

.input-cell {
  font-size: 32rpx;

  .u-cell {
    padding: 35rpx 32rpx;

    &::after {
      left: -15px;
      border-bottom: 1px solid #f5f5f5;
    }
  }

  input {
    &::placeholder {
      color: #bfbfbf;
      font-size: 30px;
      display: block;
    }
  }
}

.placeholder {
  color: #bfbfbf;
  font-size: 32rpx;
}

.input-box {
  padding: 32rpx;
  border-bottom: 1px solid #f5f5f5;
  position: relative;
}

.label-width {
  width: 130rpx;
  color: #111111;
  font-size: 32rpx;
}

.pharmacist-head {
  width: 100rpx;
  height: 100rpx;
  min-width: 100rpx;
  min-height: 100rpx;
  border-radius: 50%;
}

.u-popup {
  .u-popup__content {
    border-top-left-radius: 30rpx;
    border-top-right-radius: 30rpx;
  }

  .u-toolbar__title {
    color: #333333 !important;
  }

  .u-toolbar__wrapper__cancel {
    color: #999999 !important;
    font-size: 32rpx;
  }

  .u-toolbar__wrapper__confirm {
    color: #4abf78 !important;
    font-size: 32rpx;
  }

  .u-picker__view__column__item {
    color: #333333 !important;
    font-weight: normal !important;
  }
}

.u-modal {
  width: 600rpx !important;
  border-radius: 20rpx !important;

  .u-modal__button-group__wrapper--cancel {
    border-right: 1px solid #efefef;
  }

  .u-modal__title {
    font-size: 34rpx !important;
    color: #333333 !important;
    font-weight: normal !important;
  }

  .u-modal__content {
    padding-top: 30rpx !important;
    padding: 30rpx 60rpx !important;
  }

  .u-modal__content__text {
    text-align: center;
    color: #333333 !important;
  }

  .u-modal__button-group {
    border-top: 1px solid #efefef;
  }

  .u-line {
    display: none !important;
  }
}

.u-toast__content {
  background-color: rgba(0, 0, 0, 0.75) !important;
  border-radius: 8px !important;
  padding: 16px !important;
}

.u-toast__content__text {
  max-width: 300px !important;
  font-size: 30rpx !important;
}

.u-border {
  border-width: 1px !important;
}

.pharmacist-bg {
  position: fixed;
  bottom: 160rpx;
  right: 10rpx;
  width: 160rpx;
  height: 160rpx;
  min-width: 160rpx;
  min-height: 160rpx;
}

.divider_box {
  width: 45%;
  margin: 0 auto;
  padding: 40rpx 0;
}
